<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>声明式渲染</title>
</head>
<body>

<div id="app">
    {{message}}
</div>

<div id="app-2">
    <span v-bind:title="message">鼠标悬停查看动态绑定的提示信息!</span>
</div>


<script src="../js/vue.js"></script>
<script>

    var app2 = new Vue({
        el: '#app-2',
        data: {
            message: '页面加载于' + new Date().toLocaleString()
        }
    })


    var app = new Vue({
        el: '#app',
        data: {
            message: 'Hello Vue!'
        }
    })
</script>
</body>
</html>